<%@ page language="java" pageEncoding="gbk"%>

<%@ page import="java.util.*,com.lexue.domain.*"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
<html:base/>
<head>
<title>搜索家教</title>
<meta http-equiv="content-type" content="text/html; charset=GBK" />
<meta name="description" content="Your description goes here." />
<meta name="keywords" content="your,keywords,goes,here" />
<meta name="author" content="Your Name / Original design by Andreas Viklund - http://mb5u.com" />
<link rel="stylesheet" href="andreas09.css" type="text/css" media="screen" />
<style type="text/css">

/* This is only a demonstration of the included colors in the andreas09 template. Don't use this file as a starting point when you use the template, use the included index.html or 2col.html instead! */

#container{background:#f0f0f0 url(img/bodybg.jpg) repeat-x;}
#mainmenu a:hover{background:#f0f0f0 url(alt-img/menuhover-purple.jpg) top left repeat-x;}
#mainmenu a.current{background:#f0f0f0 url(alt-img/menuhover-purple.jpg) top left repeat-x;}
.searchbox{
font-size:12px;
width:500px;
position:relative;
top:-20px;
padding:8px;
}
.searchbox  td{
padding: 5px 0px;
}

#container_header{
	margin:0;
	background:url(img/hbanner7.jpg);
	height:180px;
}
.searchbox .dropdownlist{
height:13px;
padding:1px;
font-size:11px;
}
.searchbox .price{
height:15px;
width:25px;
font-size:11px;
}
.searchbox .searchbtn{
height:17px;
width:60px;
border: 1px solid #97928f;
font-size:12px;
}
</style>
</head>

<body>
<div id="container">

<div id="container_header">
<div id="sitename">
<h1>imp<img src="resource/logo_180x60.jpg" width="180px" height="60px" /></h1>
</div>
</div>

<div id="mainmenu">
<ul>
<li><a href="center.jsp">个人中心</a></li>
<li><a  href="getTeacherInfo.do">我的家教信息</a></li>
<li><a href="message.do?operation=showMessage">短消息</a></li>
<li><a class="current" href="search.do?operation=loadSearch">搜索家教</a></li>
</ul>
</div>
 
<div id="wrap">

<div id="leftside">
<h1>Actions</h1>
<p>
<a class="nav active" href="index.html">搜索家教</a><span class="hide"> | </span>
<a class="nav" href="2col.html">家教PK</a><span class="hide"> | </span>
</p>
</div>

<div id="content">
<html:form action="search.do?operation=searchTeachers" method="post">
<div class="searchbox">

     
   <%
   	List areas = (List) request.getAttribute("areas");      	
	List subjectList = (List) request.getAttribute("subjects");   
   %>

<h1>搜索家教</h1><table width="100%" border="0" align="center">
<tbody><tr>
<td>科目：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<html:select property="subject">
      	<html:option value="">不限</html:option>      	
      	<html:option value="数学">数学</html:option>
		<html:option value="语文">语文</html:option>
		<html:option value="英语">英语</html:option>
		<html:option value="物理	">物理</html:option>
		<html:option value="化学">化学</html:option>
		<html:option value="音乐">音乐</html:option>
		<html:option value="美术">美术</html:option>
      	</html:select>
</td>


<td>教学区域：&nbsp;
		<html:select property="area">
      	<html:option value="">不限</html:option>
      	<html:option value="海淀区">海淀区</html:option>
      	<html:option value="东城区">东城区</html:option>
      	<html:option value="西城区">西城区</html:option>
      	<html:option value="朝阳区">朝阳区</html:option>
      	<html:option value="丰台区">丰台区</html:option>
      	<html:option value="大兴区">大兴区</html:option>
      	
      	</html:select>
</td>
<td>性别：&nbsp;<html:select property="sex" styleClass="dropdownlist">
<html:option value="">不限</html:option>
<html:option value="male">男</html:option>
<html:option value="female">女</html:option>
</html:select>&nbsp; <br/></td></tr>
<tr>
<td>所在学校：&nbsp; 
	<html:select property="school">
      	<html:option value="">不限</html:option>
      	<html:option value="北京大学">北京大学</html:option>
       	<html:option value="清华大学">清华大学</html:option>
      	<html:option value="人民大学">人民大学</html:option>
      	<html:option value="北京师范大学">北师大</html:option>
      	<html:option value="北京理工大学">北理工</html:option>
      	<html:option value="北京航空航天大学">北航</html:option>
      	
      	</html:select>

	
</td>
<td colspan="2">价格范围：&nbsp;<html:text property="minPrice" styleClass="price"/> ~ <html:text property="maxPrice" styleClass="price"/> </td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;
<html:submit value = "搜索" styleClass="searchbtn"></html:submit>
<tr>
</tbody></table>
</div>
</html:form>

</div>
<div class="clearingdiv">&nbsp;</div>
</div>
</div>
<div id="footer">&copy; 2009 乐学网平台开发小组</div>
</body>
</html:html>